package kr.hkit.powerjava.chapter09.submit;

class Movie {
	String movieName;
	String director;
	String production;

	public Movie(String movieName, String director, String production) {
		this.movieName = movieName;
		this.director = director;
		this.production = production;
	}

	public Movie() {

	}

	public void setMovie(String movieName, String director, String production) {
		this.movieName = movieName;
		this.director = director;
		this.production = production;
	}

	@Override
	public String toString() {
		return "Movie [movieName=" + movieName + ", director=" + director
				+ ", production=" + production + "]";
	}
}

public class MovieTest {
	public static void main(String[] args) {

		Movie m1 = new Movie();
		Movie m2 = new Movie("메이즈 러너2", "민호", null);

		m1.setMovie("메이즈 러너", "웨스 볼", "폭스코리아");
		System.out.println(m1);
		System.out.println(m2);

	}
}
